<div class="row-fluid well">
    <?php
    $this->Widget('ext.highcharts.HighchartsWidget', array(
        'scripts' => array(
            'modules/exporting', // adds Exporting button/menu to chart
        ),
        'nombreChart' => $nombreChart,
        'options' => array(
            'colors' => array($color),
            'chart' => array(
                'height' => '500',
                'width'=>'1052',
                'backgroundColor' => array(
                    'linearGradient' => array('x1' => 0, 'y1' => 0, 'x2' => 1, 'y2' => 1),
                    'stops' => array(array(
                            0, 'rgb(255, 255, 255)'),
                        array(1, 'rgb(240, 240, 255)')
                    )),
                'zoomType' => 'x',
                'type' => 'column',
            ),
            'plotOptions' => array(
                'series' => array(
                    'dataLabels' => array(
                        'align' => 'left',
                        'enabled' => true,
                        'rotation' => -90,
                        'borderRadius' => 5,
                        'backgroundColor' => 'rgba(252, 255, 197, 0.7)',
                        'borderWidth' => 1,
                        'borderColor' => 'black',
                        'style' => array(
                            'fontSize' => '10px',
                            'fontFamily' => 'Arial, sans-serif',
                        ),
                        'y' => -min($reporte['series'][0]['data']) - 50,
                    ),
                )
            ),
            'borderWidth' => 2,
            'plotShadow' => true,
            'plotBorderWidth' => 1,
            'title' => array('text' => "Día " . $reporte['series'][0]['name']),
            'subtitle' => array(
                'text' => "Del menu semanal desde " . Util::FormatDate($model->fecha_inicial, "Y-m-d") . " hasta " . Util::FormatDate($model->fecha_fin, "Y-m-d")
                . " para " . $model->numero_ninos . " infantes",
            ),
            'credits' => array(
                'enabled' => false,
            ),
            'xAxis' => array(
                'type' => 'category',
                'labels' => array(
                    'rotation' => -45,
                    'style' => array(
                        'fontSize' => '13px',
                        'fontFamily' => 'Verdana, sans-serif'
                    )),
                'gridLineWidth' => 1,
                'lineColor' => '#000',
                'tickColor' => '#000',
                'title' => array('text' => "Valores nutricionales"),
                'categories' => $reporte['xAxis']['categories'],
            ),
            'yAxis' => array(
                'minorGridLineColor' => 'gray',
                'allowDecimals' => true,
                'max' => max($reporte['series'][0]['data']) + max($reporte['series'][0]['data'])/2,
                'title' => array('text' => 'Cantidad'),
            ),
            'legend' => array('enabled' => false),
            'tooltip' => array(
                'pointFormat' => 'Cantidad: <b>{point.y:.1f}</b>',
            ),
            'series' => $reporte['series'],
        ),
    ));
    ?>
</div>